package com.lakeworks.common.domain.channel;

import com.lakeworks.common.domain.base.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 产品基本信息对象 sys_product
 *
 * @author lake
 * @date 2023-02-08
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysProductInfo extends BaseDomain {
    private static final long serialVersionUID = 1L;

    /**
     * 编码
     */
    @NotBlank(message = "40313")
    private String code;

    /**
     * 名称
     */
    @NotBlank(message = "40323")
    private String name;

    /**
     * 分类
     */
    @NotBlank(message = "40333")
    private String category;

    /**
     * 图片
     */
    @NotBlank(message = "40343")
    private String picture;

    /**
     * 产品备注
     */
    private String comment;

}
